const {
	http
} = uni.$u

// 提交登录
export const postLogin = (params, config = {}) => http.post('loginNotCaptcha', params, config);
// 登录密码加密
export const getEncode = (params) => http.get('app/api/encode', params);
// 用户详情-个人中心
export const getUserInfo = (params) => http.get('app/getInfo', params);
// 发送验证码
export const sendCode = (params, config = {}) => http.post('api/short/message', params, config);
// 验证码检测
export const checkCode = (params) => http.get('api/short/message/checkShortMessage', params);
// 更新密码
export const savePwd = (params, config = {}) => http.get('smzgl/api/ryxx/updateUserPassword', params, config);
// 关于我们
export const getAbout = (params) => http.get('app/aboutus', params);
// 附件列表
export const fileList = (params) => http.get('core/attach/list', params);
// 企业概况
export const cpgOverview = (params) => http.get('app/cpgOverview', params);
// 项目情况
export const projectDis = (params) => http.get('app/projectDis', params);
// 开户情况
export const accountCount = (params) => http.get('app/account', params);
// 工人情况
export const ssuCount = (params) => http.get('app/ssu', params);
// 项目统计
export const projectCount = (params) => http.get('app/projectChart', params);
// 项目列表
export const getProject = (params) => http.get('app/projects', params);
// 项目详情
export const getProjectDetail = (params) => http.get('app/projectDetail/' + params.id, params);
// 分包单位
export const getSubs = (params) => http.get('app/subs', params);
// 保证金专户信息
export const accsBail = (params) => http.get('app/accsBail', params);
// 工资专户信息
export const accsSalary = (params) => http.get('app/accsSalary', params);
// 班组统计
export const groupStatistics = (params) => http.get('app/groupStatistics', params);
// 企业附件
export const appAtta = (params) => http.get('app/atta', params);
// 参建单位详情
export const deptDetail = (params) => http.get('app/deptDetail/' + params.id, params);
// 分包单位详情
export const subInfoBy = (params) => http.get('app/subInfoBy', params);
// 专户统计
export const accStatistics = (params) => http.get('app/accStatistics', params);
// 保证金专户 ---- todo 新加的统计图
export const accsb = (params) => http.get('app/accsb', params);
// 银行专户
export const accbByBank = (params) => http.get('app/accbByBank', params);
// 专户列表
export const accounts = (params) => http.get('app/accounts', params);
// 专户详情
export const accountDetail = (params) => http.get('app/accountDetail', params);
// 保证金列表 - 不对接
export const accBails = (params) => http.get('app/accBails', params);
// 保证金详情 - 不对接
export const accBailBy = (params) => http.get('app/accBailBy', params);
// 人员信息统计
export const staffsdistribute = (params) => http.get('app/staffsdistribute', params);
// 人员列表
export const staffs = (params) => http.get('app/staffs', params);
// 人员详情
export const getStaffInfo = (params) => http.get('app/staffs/' + params.id, params);
// 新的附件列表 含数量
export const getAtta = (params) => http.get('app/atta', params);
// 督办
export const supervise = (params) => http.get('app/supervise', params);
// 督办列表
export const sups = (params) => http.get('app/sups', params);
// 预警概况
export const warningStatistics = (params) => http.get('app/warningStatistics', params);
// 预警情况统计
export const getWarningChart = (params) => http.get('app/warningChart', params);
// 预警列表
export const warnings = (params) => http.get('app/warnings', params);
// 工资概览 - 工资发放情况 共用
export const salaryByPtype = (params) => http.get('app/salaryByPtype', params);
// 工资列表
export const salaryProject = (params) => http.get('app/salaryProject', params);
// 工资详情
export const appSc = (params) => http.get('app/sc', params);
// 工资发放列表
export const salaries = (params) => http.get('app/salaries', params);
// 工资发放列表详情
export const salaryDetail = (params) => http.get('app/salaryDetail', params);
// 工资发放人员列表
export const appSsd = (params) => http.get('app/ssd', params);
// 工资发放人员详情
export const appSS = (params) => http.get('app/ss', params);
// 企业统计-统计
export const companyStatistics = (params) => http.get('app/companyStatistics', params);
// 开户银行-统计  todo 未实现
export const accountINC = (params) => http.get('app/accountINC', params);
// 本月工资发放情况-统计
export const salaryByNation = (params) => http.get('app/salaryByNation', params);
// 考勤概览
export const staffsStatistics = (params) => http.get('app/staffsStatistics', params);
// 考勤列表
export const regionAtd = (params) => http.get('app/regionAtd', params);
// 考勤月汇总
export const regionAtdDetail = (params) => http.get('app/regionAtdDetail', params);
// 班组分组统计
export const bzkqStatistics = (params) => http.get('app/bzkqStatistics', params);
// 人员月汇总
export const psatd = (params) => http.get('app/psatd', params);
// 人员日期控件
export const dailyATD = (params) => http.get('app/dailyATD', params);
// 人员考勤明显 - 旧
export const atdDetailBystaff = (params) => http.get('app/atdDetailBystaff', params);
// 人员考勤明细 - 新 加预览等
export const makeUpCard = (params, config = {}) => http.post('app/makeUpCard', params, config);

// 字典列表
export const dictList = (params) => http.get('system/dict/data/type/' + params.type, params);
// 属地字典
export const appNation = (params) => http.get('app/nation', params);
// 班组概况
export const groupOverview = (params) => http.get('app/groupOverview', params);
// 班组列表
export const groups = (params) => http.get('app/groups', params);
// 班组详情
export const groupDetaile = (params) => http.get('app/groups/' + params.id, params);
// 班组成员
export const groupMembers = (params) => http.get('app/groupMembers', params);
